import java.util.Arrays;
import java.util.PriorityQueue;

public class test {
    public static void main(String[] args) {
        PriorityQueue priorityQueue =new PriorityQueue(3);
        priorityQueue.offer(1);
        priorityQueue.offer(2);
        priorityQueue.offer(3);
        priorityQueue.offer(4);
        priorityQueue.offer(5);
        priorityQueue.offer(5);
        System.out.println(priorityQueue.size());

        int[] arr={9,8,6,5,54,25,9,6,5,5,88,5,588,7,5};
        System.out.println(Arrays.toString(arr));

    }
}
